<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" import="java.util.Map,java.util.HashMap,java.util.List,java.sql.Connection,com.java1234.util.DbUtil,com.java1234.dao.carDao,com.java1234.dao.animalDao,java.util.ArrayList"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>购物车信息</title>
<style type="text/css">
	html{
	height:100%;
	background-image:url("images/yun.jpg")	;
	background-repeat:no-repeat;
	background-attachment:fixed;
	background-size:100%;
	}
</style>
	</head>
<body>
<%
		String username=(String)session.getAttribute("username");
		Connection con=null;
		DbUtil dbUtil=new DbUtil();
		carDao cardao = new carDao();
		try {
			con=dbUtil.getCon();		
		} catch (Exception e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		};
		String count=cardao.find1(con, username);
		%>
		添加成功，您的购物车有&nbsp;<%=count %>&nbsp;件商品。<br>
		<a href="userfind.jsp">继续购物</a>  <a href="carlist.jsp">结算</a>
		
</body>

</html>